@font-face {
  font-family: Px437 Cordata PPC-400;
  src: url("/fonts/Px437_Cordata_PPC-400.ttf");
}

@font-face {
  font-family: Ac437 Phoenix BIOS;
  src: url("/fonts/Ac437_Phoenix_BIOS.ttf");
}

@font-face {
  font-family: Ac437 DG One;
  src: url("/fonts/Ac437_DG_One_B.ttf");
}

body {
  background-image: url("https://wolfrayetlaw.com/imgs/background/waterbg2.png");
  background-size: cover;
  background-attachment: fixed;
  max-height: auto;
  max-width: auto;
  display: flex;
  margin-top: 13em;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
}

main {
  height: 600px;
  width: 500px;
  padding: 5px 5px 0 5px;
  background-color: #dddddd;
  border: 4px double black;
  flex: 0 0 auto;
}

img.headimg {
  max-width: 100%;
  object-fit: contain;
  border: 2px solid black;
  margin-top: -20px;
  margin-left: -3px;
  filter: drop-shadow(2px 2px 0 #8f8f8f);
  transition-property: initial;
  transition-duration: initial;
  transition-timing-function: initial;
  -webkit-transition-property: all;
  -webkit-transition-duration: 0.3s;
  -webkit-transition-timing-function: ease;
}

img.headimg:hover {
  transform: scale(1.02);
}

.sidebar1,
.sidebar2 {
  height: auto;
  width: 250px;
  background-color: transparent;
}

nav,
.update,
.ads {
  float: right;
  width: inherit;
  padding: 5px 5px 0 5px;
  margin: 5px 0 5px 0;
  background-color: darkgray;
  border: 4px double black;
}

.welcome,
.status {
  float: left;
  width: inherit;
  padding: 5px 5px 0 5px;
  margin: 5px;
  background-color: darkgray;
  border: 4px double black;
}

footer {
  color: white;
  font-family: Px437 Cordata PPC-400;
}

.status ul {
  background: var(--post-bg);
  margin: 0.5em;
  padding: 0.5em;
  border-radius: 0.5em;
}

.status li {
  list-style-type: none;
  padding: 0.2em;
}

.status li:nth-child(odd) {
  font-weight: bold;
  font-family: Px437 Cordata PPC-400;
  font-size: 0.9em;
  background: rgb(211, 211, 211);
  border: 1px solid black;
  margin-bottom: 3px;
}

.status li:nth-child(even) {
  font-family: Px437 Cordata PPC-400;
  background: rgb(150, 150, 150);
  text-decoration: underline;
  border-radius: 0.3em;
  padding-inline: 0.8em;
}

.welcome {
  padding: 10px;
}

.ads {
  height: 140px;
  width: 200px;
}

.ads img {
  height: 140px;
  width: 205px;
  margin: -2 -2 -2 -2;
}

img.navimg {
  float: right;
  margin-top: -111px;
  width: 150px;
  -webkit-animation-duration: 0.7s;
  animation-duration: 0.7s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  animation-iteration-count: initial;
  -webkit-animation-iteration-count: initial;
}

img.navimg:hover {
  cursor: pointer;
  animation-name: bounce;
  -moz-animation-name: bounce;
}

img.welcimg {
  float: right;
  margin-top: -235px;
  margin-right: -100px;
  width: 200px;
}

main button {
  color: #1d58c5;
  font-family: Ac437 DG One;
  font-weight: bold;
  background-color: rgb(251, 219, 77);
  padding: 6px;
  margin: 5px;
  border: 3px double black;
  filter: drop-shadow(2px 2px 0 #8f8f8f);
}

button:hover {
  font-size: larger;
  font-style: italic;
  cursor: pointer;
}

nav ul {
  text-align: center;
  vertical-align: middle;
  margin-top: 0;
  margin-bottom: 1em;
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 6px;
  justify-content: space-evenly;
}

nav li a {
  width: 110px;
  display: inline-block;
  background: #ffffff;
  color: #3d4841;
  font-family: Ac437 Phoenix BIOS;
  font-size: small;
  padding: 2px;
  border: 2px solid #3d4841;
  transition: 0.1s;
  text-decoration: none;
  text-shadow: none;
  font-weight: unset;
}

nav li a:visited {
  color: #3d4841;
}
nav li a:hover {
  background: #baecff;
  color: #4666a1;
  outline: 3px double #4666a1;
  outline-offset: 1px;
  font-style: unset;
}

a {
  color: #1d58c5;
  font-family: Ac437 Phoenix BIOS;
  font-size: 12px;
  font-weight: bold;
}

a:hover {
  color: #1d58c5;
  font-family: Ac437 Phoenix BIOS;
  font-size: 12px;
  font-style: italic;
  font-weight: lighter;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: Ac437 DG One;
}

h1.update {
  background: linear-gradient(to top, #00a8eb, #baecff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #000;
  -text-fill-color: transparent;
  font-weight: 100;
  filter: drop-shadow(2px 2px 0 #000);
  float: right;
  margin-top: -20px;
  border: none;
  font-weight: bold;
  -webkit-animation: pop 1s ease-in-out infinite alternate;
  animation: pop 1s ease-in-out infinite alternate;
  -moz-animation: pop 1s ease-in-out infinite alternate;
}

h1.wrl {
  background: linear-gradient(to top, #baecff, #00a8eb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #000;
  -text-fill-color: transparent;
  font-weight: 100;
  filter: drop-shadow(2px 2px 0 #000);
  float: right;
  margin-top: -30px;
  border: none;
  font-weight: bold;
  font-size: 2.1em;
}

h3.update {
  color: #00a8eb;
  float: right;
  margin-top: -35px;
  margin-right: 10px;
  background: transparent;
  line-height: 1.1;
  border: none;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -3px 3px 0 #000,
    1px 3px 0 #000;
  filter: drop-shadow(1px 1px 0 #000);
}

h3.status {
  color: #00a8eb;
  float: right;
  margin-top: -20px;
  background: transparent;
  line-height: 1.1;
  border: none;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -3px 3px 0 #000,
    1px 3px 0 #000;
  filter: drop-shadow(1px 1px 0 #000);
}

p,
strong,
em {
  font-family: Px437 Cordata PPC-400;
}

div.scrollbox {
  background-color: #baecff;
  width: auto;
  height: 250px;
  padding: 10px;
  margin-bottom: 10px;
  border: 3px double black;
  overflow: auto;
}

img.sprite {
  border: none;
  padding: 2px;
  margin-top: -20px;
  margin-bottom: 6px;
  position: relative;
}

img.button {
  border: none;
  margin-top: 10px;
  display: inline-block;
}

marquee {
  margin-top: -15px;
}

blockquote {
  background-color: #ffffff;
  border: none;
  border-radius: 10px;
  display: inline-block;
  padding: 1em;
  margin: 1em 1em 0 20px;
  filter: drop-shadow(4px 4px 0 #8f8f8f);
}

hr.dashed {
  border-style: dashed;
  width: 300px;
}

@keyframes bounce {
  0%,
  100%,
  20%,
  50% {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-7px);
    -ms-transform: translateY(-7px);
    transform: translateY(-7px);
  }
  60%,
  80% {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes glow {
  0% {
    text-shadow: 0 0 15px #00a8eb;
  }

  50% {
    text-shadow: none;
  }

  100% {
    text-shadow: 0 0 15px #00a8eb;
  }
}

@-webkit-keyframes glow {
  0% {
    text-shadow: 0 0 15px #00a8eb;
  }

  50% {
    text-shadow: 0 0 0;
  }

  100% {
    text-shadow: 0 0 15px #00a8eb;
  }
}

@keyframes pop {
  from {
    transform: scale(0.95);
  }

  50% {
    transform: scale(1);
  }

  to {
    transform: scale(0.95);
  }
}

@-webkit-keyframes pop {
  from {
    -webkit-transform: scale(0.95);
  }

  50% {
    -webkit-transform: scale(1);
  }

  to {
    -webkit-transform: scale(0.95);
  }
}
